Translate Audit Record MAC key

Command:

To translate a MAC key from the old LMK to the new LMK.

Notes:

The random MAC key used to generate the MAC on the audit record must be translated from the old LMK to the new LMK when the LMK is changed.

 

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Q0

MAC key

1A + 32H

MAC key encrypted under old LMK (22-23 variant 7)

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Q1

Error Code

2 N

00 – No error.
10 – MAC key parity error
13 – LMK error - report to Supervisor
15 – Error in input data

MAC key

1A + 32H

MAC key encrypted under new LMK pair 22-23 variant 7

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters